package com.leeon.exception.exmaples;

class Exception1 extends Exception{}

public class Exmaple8 {

    static void f() throws Exception1{}

    public static void main(String[] args) {
        try {
            f();
        } catch (Exception1 exception1) {
            exception1.printStackTrace();
        }
    }

}
